Skip to main content

Holdings

retrieves the holdings as a list Request to be POSTed to uri : /NorenWClientTP/Holdings

Request Details :

Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
jKey*Key Obtained on login success.
Json FieldsPossible valueDescription
uid*Logged in User Id
actid*Account id of the logged in user.
prd*Product name

response Details :

Response data will be in json format with below fields in case of Success:

Json FieldsPossible valueDescription
statOk or Not_OkHolding request success or failure indication.
exch_tsymArray of objects exch_tsym objects as defined below.
holdqtyHolding quantity
dpqtyDP Holding quantity
npoadqtyNon Poa display quantity
colqtyCollateral quantity
benqtyBeneficiary quantity
unplgdqtyUnpledged quantity
brkcolqtyBroker Collateral
btstqtyBTST quantity
btstcolqtyBTST Collateral quantity
usedqtyHolding used today
upldprcAverage price uploaded along with holdings
hair_cutHair Cut
prdProduct
s_prdt_aliProduct display name
trdqtyTrade Quantity
sell_amtSell Amount
Notes:
Valuation : btstqty + holdqty + brkcolqty + unplgdqty + benqty + Max(npoadqty, dpqty) - usedqty
Salable: btstqty + holdqty + unplgdqty + benqty + dpqty - usedqty
Exch_tsym object:
Json Fields of object in values ArrayPossible valueDescription
exchNSE, BSE, NFO ...Exchange
tsymTrading symbol of the scrip (contract)
tokenToken of the scrip (contract)
ppPrice precision
tiTick size
lsLot size
lpLTP [#]

Response data will be in json format with below fields in case of failure:

Json FieldsPossible valueDescription
statNot_OkPosition book request failure indication.
request_timeResponse received time.
emsgError message

[#] - By Default disabled and Enabled on request basis.

Sample Success Response :

[   
{
"stat":"Ok",
"exch_tsym":[
{
"exch":"NSE",
"token":"13",
"tsym":"ABB-EQ"
}
],
"holdqty":"2000000",
"colqty":"200",
"btstqty":"0",
"btstcolqty":"0",
"usedqty":"0",
"upldprc" : "1800.00"
},
{
"stat":"Ok",
"exch_tsym":[
{
"exch":"NSE",
"token":"22",
"tsym":"ACC-EQ"
}
],
"holdqty":"2000000",
"colqty":"200",
"btstqty":"0",
"btstcolqty":"0",
"usedqty":"0",
"upldprc" : "1400.00"
}
]

Sample Failure Response :

{
"stat":"Not_Ok",
"emsg":"Invalid Input : Missing uid or actid or prd."
}